package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.POJO.Brand;

import java.util.List;

public interface BrandMapper {
    List<Brand> selectAll();

    // whre id=？
    Brand selectById(int id);


    Brand selectByCondition(@Param("status") int status, @Param("companyName") String companyName, @Param("brandName") String brandName);

}
